<!DOCTYPE html>
<html>
<head>
<title>GradientLabTest</title>
<script type="text/javascript" src="libs/three.min.js"></script>
<script type="text/javascript" src="libs/dat.gui.min.js"></script>

<script type="text/javascript" src="GradientLab.js"></script>

<script type="text/javascript">
function init()
{
	myLab = new CODECO.GradientLab("container");
	
	function gameLoop() {
		//update
		myLab.update();
		
		//render
		requestAnimationFrame(gameLoop);
		myLab.renderer.render(myLab.scene, myLab.camera);
	}
	
	gameLoop();
}

window.addEventListener("load", init, false);

</script>



</head>
<body>


<div id="container"></div>

</body>
</html>